<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>车辆进出管理系统</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            background-color: #f4f4f4;
            margin: 0;
            padding: 0;
        }

      .container {
            width: 100%;
            max-width: none;
            padding: 20px;
            box-sizing: border-box;
        }

      .header {
            background-color: #007bff;
            color: white;
            font-size: 24px;
            padding: 20px 0;
            width: 100%;
            text-align: center;
        }

      .nav {
            background-color: #f2f2f2;
            padding: 10px 0;
            display: flex;
            justify-content: center;
            border-bottom: 1px solid #ccc;
        }

      .nav a {
            text-decoration: none;
            color: #007bff;
            padding: 10px 20px;
            border: 1px solid #ccc;
            border-radius: 5px;
            margin: 0 5px;
            background-color: white;
        }

      .nav a:hover {
            background-color: #e6e6e6;
        }

      .image-section {
            text-align: center;
            margin-top: 20px;
        }

      .image-section img {
            max-width: 100%;
            height: auto;
        }

        table {
            width: 100%;
            border-collapse: collapse;
            margin-top: 20px;
            border-spacing: 0;
        }

        th,
        td {
            padding: 15px;
            border: 1px solid #ccc;
        }

        th {
            background-color: #007bff;
            color: white;
            text-align: left;
        }

      .left-align {
            text-align: left;
        }

        /* 新增返回按钮的样式 */
      .back-button {
            position: absolute;
            top: 20px;
            right: 20px;
            padding: 10px 20px;
            background-color: #ccc;
            color: #333;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

      .back-button:hover {
            background-color: #b3b3b3;
        }
    </style>
</head>

<body>
    <button class="back-button" onclick="goBack()">返回</button>
    <div class="container">
        <div class="header">车辆进出管理系统</div>
        <div class="nav">
            <a href="select_carId.html">查询车牌的相关信息</a>
            <a href="select_seatId.html">查询车位信息</a>
            <a href="select_time.html">选择时间查询车辆信息</a>
        </div>
        <div class="image-section">
            <img id="tupi" src="../images/停车场图片.png" alt="停车场图片">
        </div>
        <table>
            <tr>
                <th colspan="2">车辆进出管理系统说明</th>
            </tr>
            <tr>
                <td class="left-align">欢迎使用车辆进出管理系统，您可以进行以下操作：</td>
            </tr>
            <tr>
                <td colspan="2" class="left-align">1. 选择特定停车场查询：通过此选项，您可以选择一个停车场，然后连接数据库查询相关数据。</td>
            </tr>
            <tr>
                <td colspan="2" class="left-align">2. 查看最近车辆停车次数：此选项允许您查看最近车辆的停车次数及其具体信息。</td>
            </tr>
        </table>
    </div>

    <script>
        function goBack() {
            window.location.href = 'index.html'; // 根据实际情况修改此处为对应的主页面路径
        }
    </script>
</body>

</html>